import request from "@/common/request"
// 获取code
export const wxLogin=data=>request.post("/user/auth/wechat-mini/login-by-code",data)
// 手机号码登录
export const wxPhone=data=>request.post("/user/auth/wechat-mini/login-by-mobile",data)

// 完善用户信息
export const supplement=data=>request.post("/user/profile/supplement",data)

// 获取验证码
export const createImToken=data=>request.post("/im/auth/createToken",data)

// 万一获取登录信息
export const ouathToken=data=>request.post("/oauth/token",data)
// // 注册
// export const AccountRegister=data=>request.post("account/default/registered",data)
// //获取应用和校区列表
// export const getChoose=params=>request.get("resources/resources/campus-app",{params})
// // 获取学生个人信息
// export const getUserInfo=params=>request.get("resources/resources/resources-info",{params})
// // mine页面带制度数
// export const bePayCount=data=>request.post("resources/order/order-unpay-count",data)